package cn.getech.data.development.controller.api;


import cn.getech.data.development.api.JobLinkApi;
import cn.getech.data.development.dto.JobLinkDto;
import cn.getech.data.development.service.JobLinkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @ClassName JobInfoApiController
 * @Description TODO
 * @Author Getech
 * @Date 2020/12/24 11:46
 */
@RestController
public class JobLinkApiController implements JobLinkApi {

    @Autowired
    private JobLinkService jobLinkService;

    @Override
    public List<JobLinkDto> selectListByMenuId(Long workMenuId, Integer type) {

        return jobLinkService.selectListByMenuId(workMenuId,type);
    }
}
